<!DOCTYPE html>
<html id="replace-style" lang="zh" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>设备信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}" >
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />


</head>
<body>
<!--头部-->
<header th:replace="common/head" >
</header>
<!-- 页面指向 -->
<div class="page-point bg-white">
    <ul>
        
        <li>台账管理</li>
        <li>设备信息</li>
    </ul>
</div>
<!-- 菜单树 -->
<div th:replace="common/left" >
</div>
<!--主体内容-->
<div class="page-container">

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12">
            <h2 class="page-section-title">查询条件</h2>
        </div>
    </div>

    <div class="container-fluid query-frame-wrap mb-10 clearfix condition-query">
        <div class="col-lg-9 col-lg-item-6">
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备编号</label>
                        <select id="equipCode" name="equipCode" class="form-control queryEquipment equipQuery">
                        </select>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备名称</label>
                        <input autocomplete="new-password" id="equipName" type="text" class="form-control equipQuery" />
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>所属工序</label>
                        <select id="operation" name="operation" class="form-control operationSearch equipQuery">
                        </select>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>供应商</label>
                        <input autocomplete="new-password" id="supplier" type="text" class="form-control equipQuery" />
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-3">
            <div class="query-frame query-button">
                <img id="queryEquip" th:src="@{/image/search.png}" src="../../static/image/search.png" />
                <img class="reset" th:src="@{/image/rest.png}" src="../../static/image/rest.png" />
            </div>
        </div>
    </div>

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12 rlt">
            <h2 class="page-section-title">设备信息</h2>
            <ul class="table-tool">
                <li id="accountRegister" shiro:hasPermission="app.equipment.account.saveOrUpdateEquipInfo.save.mvc">
                    <span class="icon-left_taizhang" aria-hidden="true"></span>
                    <label>台账登记</label>
                </li>
                <li id="refreshTable">
                    <span class="icon-list_shuaxin" aria-hidden="true"></span>
                    <label>刷新</label>
                </li>
            </ul>
        </div>
    </div>

    <div class="container-fluid table-container">
        <table  id="equipInfoTable" cellspacing="" cellpadding="">

        </table>
    </div>
</div>

<div class="modal fade modelForm" id="myModal" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" >
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title title"></h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-lg-12">
                        <form id="accountRegisterForm" method="post" class="form-horizontal accountRegisterForm" action="">
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备编号</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="equipCode" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备名称</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="equipName" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-3">供应商</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="supplier" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">所属工序</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="operation" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备型号</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="equipModel" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备类别</label>
                                <div class="col-lg-7">
                                   <!--  <select  class="form-control equipType" name="equipType"  >
                                    </select> -->
                                    <input autocomplete="new-password" type="text" class="form-control" name="equipType" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label ">辅助设备</label>
                                <div class="col-lg-7">
                                   <select  class="form-control aidEquipCodes" name="aidEquipCodes" multiple >
                                    </select>
                                    <!-- <input type="text" class="form-control" name="equipType" disabled /> -->
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label effectiveWorkTime">日有效工时(时)</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control effectiveWorkTime" name="effectiveWorkTime" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required">厂区</label>
                                <div class="col-lg-7">
                                    <select name="factory" class="form-control">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label line">产线</label>
                                <div class="col-lg-7">
                                    <select name="line" class="form-control">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label shop">车间</label>
                                <div class="col-lg-7">
                                    <select name="shop" class="form-control">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required">区域</label>
                                <div class="col-lg-7">
                                    <select name="location" class="form-control">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">安装位置</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="installLocation" />
                                </div>
                            </div>
                            <!-- <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">出厂日期</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="roleType" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">投产日期</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="roleType" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">折旧方式</label>
                                <div class="col-lg-7">
                                    <select name="" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-6">资产原值(元)</label>
                                <div class="col-lg-7">
                                    <input type="number" class="form-control" name="roleType" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-8">预计净残值率(%)</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="roleType" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-8">预计使用年限(月)</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="roleType" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-6">资产净值(元)</label>
                                <div class="col-lg-7">
                                    <input type="text" class="form-control" name="roleType" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">使用部门</label>
                                <div class="col-lg-7">
                                    <input type="number" class="form-control" name="roleType" />
                                </div>
                            </div> -->

                            <!-- <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备状态</label>
                                <div class="col-lg-7">
                                    <input type="number" class="form-control" name="roleType" disabled />
                                </div>
                            </div> -->
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">投产日期</label>
                                <div class="col-lg-7 date-frame">
                                    <input autocomplete="new-password" type="text" class="form-control productionDate" name="productionDate" readonly="readonly"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-6">使用年限(月)</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="expectedYear" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-3">责任人</label>
                                <div class="col-lg-7">
                                    <select id="responsiblePerson" name="responsiblePerson" class="form-control systemUserSearch">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备状态</label>
                                <div class="col-lg-7">
	                                <select  class="form-control " name="equipStatus" >
	                                	<option value="1">使用</option>
	                                	<option value="2">报废</option>
	                                	<option value="3">采购</option>
	                                </select>
                                </div>
                            </div>
                            <!-- 隐藏唯一id -->
                            <input autocomplete="new-password" type="hidden" name="pkId" id="pkId" value="" />
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary yes">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<div th:replace="common/foot">
</div>



<script th:src="@{/js/platformAccount/equipInfo.js}"  ></script>
</body>
</html>






